package com.cinc.ebc.sd.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cinc.ebc.sd.entity.SdSalesReturnDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cinc.ebc.sd.model.SdSalesReturnDetailModel;

import java.util.List;

/**
 * @Description: 销售退货明细
 * @Author: jeecg-boot
 * @Date:   2022-10-09
 * @Version: V1.0
 */
public interface ISdSalesReturnDetailService extends IService<SdSalesReturnDetail> {

	public List<SdSalesReturnDetail> selectByMainId(String mainId);

    IPage<SdSalesReturnDetailModel> detailPage(Page<SdSalesReturnDetailModel> page, SdSalesReturnDetailModel detailModel);

    void handleConfirm(List<SdSalesReturnDetailModel> detailModelList) throws Exception;
}
